//test1.cpp
#include<iostream>
#include<vector>
#include<string>
using namespace std;

int main()
{
    vector<int> scores;
    vector<int> grade_num(11,0);//0,1,2,3,4,5,6,7,8,9,10
    vector<int> alt_grade_num(11, 0);//0,1,2,3,4,5,6,7,8,9,10

    int score;
    while(cin >> score)
    {
        if (score <= 100)
            scores.push_back(score);
        grade_num[score/10]++;
    }
       
    for (auto i=scores.begin();i!=scores.end();i++)
    {
        int _i = *i;
        (*(alt_grade_num.begin() + _i/10))++;
    }

    cout << "score_num = " << scores.size() << endl;
    for (auto i : scores) cout << i << " "; cout << endl;

    cout << "grade_num = " << grade_num.size() << endl;
    for (auto i : grade_num) cout << i << " "; cout << endl;

    cout << "alt_grade_num = " << alt_grade_num.size() << endl;
    for (auto i=alt_grade_num.begin();i!=alt_grade_num.end();i++)
        cout << *i << " " ; cout << endl;
    getchar();
    return 0;
}

